﻿<phone:PhoneApplicationPage 
    x:Class="OnlineVideos.Downloding"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False" Loaded="PhoneApplicationPage_Loaded">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="{StaticResource bipivot}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
            <Image x:Name="imgTitle" Style="{StaticResource DetailPagePivotTitleImage}" Width="71" Height="71" HorizontalAlignment="Left" MouseEnter="imgTitle_MouseEnter"/>

            <TextBlock x:Name="tblkVideosTitle"   Style="{StaticResource DetailPagePivotTitle}" TextWrapping="NoWrap"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,30,12,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="*"></RowDefinition>
            </Grid.RowDefinitions>
            <TextBlock Grid.Row="0" Height="30" HorizontalAlignment="Left" Margin="19,30,0,0" Name="textBlock1" Text="Title" VerticalAlignment="Top" />
            <TextBlock Grid.Row="1" Height="30" HorizontalAlignment="Left" Margin="19,30,0,0" Name="textBlock2" Text="Url" VerticalAlignment="Top" Width="38" />
            <Button Grid.Row="2" Content="Download" Height="72" HorizontalAlignment="Left" Margin="160,30,0,0" Name="button1" VerticalAlignment="Top" Width="173" Click="button1_Click"/>
            <TextBox Grid.Row="0" Height="72" HorizontalAlignment="Left" Margin="51,20,0,0" Name="txttitle"  VerticalAlignment="Top" Width="460" />
            <TextBox Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="63,20,0,0" Name="txturl"  VerticalAlignment="Top" Width="460" />
            <TextBlock Grid.Row="3" Height="100" HorizontalAlignment="Left" Margin="19,30,0,0" Name="txtmessage" Text="If u want to download this file, add title and click on DownLoad button" VerticalAlignment="Top" TextWrapping="Wrap" Width="400"/>

        </Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
     <!--  <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar.feature.email.rest.png" Text="Download"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar.add.rest.png" Text="Serach" Click="ApplicationBarIconButton_Click"/>
         <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
